package com.zr.service.driverclient;

import com.zr.vo.dispatch.DispatchAbnormalRecord;
import com.zr.vo.dispatch.DispatchMaintenance;

import java.util.List;

public interface MsgService {
    /**
     * 获取异常消息
     *
     * @param carNumber
     * @return
     */
    List<DispatchAbnormalRecord> getAbnList(String carNumber);

    /**
     * 获取维保消息
     *
     * @param carNumber
     * @return
     */
    List<DispatchMaintenance> getMtList(String carNumber);

    /**
     * 更新维保状态
     *
     * @param dispatchMaintenance
     * @return
     */
    int editMtStatus(DispatchMaintenance dispatchMaintenance);
}
